package com.sg.bean;
/**
 * @author fyp
 *二手留言实体类
 */
public class Message {

    /**
     *留言编号
     */
    private int messageid;

    /**
     *留言内容
     */
    private String messageContent;

    /**
     *用户编号
     */
    private int uId;

    /**
     *闲置编号
     */
    private int usedId;

    public Message() {
    }

    public Message(int messageid, String messageContent, int uId, int usedId) {
        this.messageid = messageid;
        this.messageContent = messageContent;
        this.uId = uId;
        this.usedId = usedId;
    }

    @Override
    public String toString() {
        return "Message{" +
                "messageid=" + messageid +
                ", messageContent='" + messageContent + '\'' +
                ", uId=" + uId +
                ", usedId=" + usedId +
                '}';
    }

    public int getMessageid() {
        return messageid;
    }

    public void setMessageid(int messageid) {
        this.messageid = messageid;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public int getUsedId() {
        return usedId;
    }

    public void setUsedId(int usedId) {
        this.usedId = usedId;
    }
}
